struct parsl_annotation {
float u_along_curve;
float v_across_curve;
float spine_to_edge_x;
float spine_to_edge_y;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ParSLAnnotation.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPINE_TO_EDGE_X
The struct member offsets. |
| public static final int | SPINE_TO_EDGE_Y
The struct member offsets. |
| public static final int | U_ALONG_CURVE
The struct member offsets. |
| public static final int | V_ACROSS_CURVE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ParSLAnnotation(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected ParSLAnnotation | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static ParSLAnnotation | |
| public static ParSLAnnotation. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ParSLAnnotation | |
| public static ParSLAnnotation. | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public int | |
| public float | |
| public float | |
| public float | |
| public float |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SPINE_TO_EDGE_X | back to summary |
|---|---|
| public static final int SPINE_TO_EDGE_X The struct member offsets. | |
| SPINE_TO_EDGE_Y | back to summary |
|---|---|
| public static final int SPINE_TO_EDGE_Y The struct member offsets. | |
| U_ALONG_CURVE | back to summary |
|---|---|
| public static final int U_ALONG_CURVE The struct member offsets. | |
| V_ACROSS_CURVE | back to summary |
|---|---|
| public static final int V_ACROSS_CURVE The struct member offsets. | |
| ParSLAnnotation | back to summary |
|---|---|
| protected ParSLAnnotation(long address, ByteBuffer container) | |
| ParSLAnnotation | back to summary |
|---|---|
| public ParSLAnnotation(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected ParSLAnnotation create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ParSLAnnotation create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ParSLAnnotation. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ParSLAnnotation createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ParSLAnnotation. Like
| |
| nspine_to_edge_x | back to summary |
|---|---|
| public static float nspine_to_edge_x(long struct) Unsafe version of | |
| nspine_to_edge_y | back to summary |
|---|---|
| public static float nspine_to_edge_y(long struct) Unsafe version of | |
| nu_along_curve | back to summary |
|---|---|
| public static float nu_along_curve(long struct) Unsafe version of | |
| nv_across_curve | back to summary |
|---|---|
| public static float nv_across_curve(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| spine_to_edge_x | back to summary |
|---|---|
| public float spine_to_edge_x() normalized vector from spine to edge | |
| spine_to_edge_y | back to summary |
|---|---|
| public float spine_to_edge_y() normalized vector from spine to edge | |
| u_along_curve | back to summary |
|---|---|
| public float u_along_curve() longitudinal coordinate (see | |
| v_across_curve | back to summary |
|---|---|
| public float v_across_curve() either + or - depending on the side | |
ParSLAnnotation structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ParSLAnnotation |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected ParSLAnnotation | |
| protected ParSLAnnotation. | |
| public float | |
| public float | |
| public float | |
| public float |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ParSLAnnotation ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected ParSLAnnotation getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected ParSLAnnotation. Implements abstract org.
| |
| spine_to_edge_x | back to summary |
|---|---|
public float spine_to_edge_x()
| |
| spine_to_edge_y | back to summary |
|---|---|
public float spine_to_edge_y()
| |
| u_along_curve | back to summary |
|---|---|
public float u_along_curve()
| |
| v_across_curve | back to summary |
|---|---|
public float v_across_curve()
| |