public class CurveProfilePoint extends CFacade
Each control point that makes up the profile.
The flags use the same enum as Bezier curves, but they aren't guaranteed to have identical functionality, and all types aren't implemented.
The flags use the same enum as Bezier curves, but they aren't guaranteed to have identical functionality, and all types aren't implemented.Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__h1
Field descriptor (offset) for struct member 'h1'.
|
static long[] |
__DNA__FIELD__h2
Field descriptor (offset) for struct member 'h2'.
|
static long[] |
__DNA__FIELD__x
Field descriptor (offset) for struct member 'x'.
|
static long[] |
__DNA__FIELD__y
Field descriptor (offset) for struct member 'y'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct CurveProfilePoint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
CurveProfilePoint(CurveProfilePoint that) |
|
CurveProfilePoint(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<CurveProfilePoint> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getFlag()
Get method for struct member 'flag'.
|
byte |
getH1()
Get method for struct member 'h1'.
|
byte |
getH2()
Get method for struct member 'h2'.
|
float |
getX()
Get method for struct member 'x'.
|
float |
getY()
Get method for struct member 'y'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setH1(byte h1)
Set method for struct member 'h1'.
|
void |
setH2(byte h2)
Set method for struct member 'h2'.
|
void |
setX(float x)
Set method for struct member 'x'.
|
void |
setY(float y)
Set method for struct member 'y'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for CurveProfilePoint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__x
Location of the point, keep together.
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__x); CPointer<Float> p_x = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__y
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__y); CPointer<Float> p_y = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__flag
Flag selection state and others.
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__h1
Flags for both handle's type (eBezTriple_Handle).
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__h1); CPointer<Byte> p_h1 = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__h2
This is how you get a reference on the corresponding field in the struct:
CurveProfilePoint curveprofilepoint = ...; CPointer<Object> p = curveprofilepoint.__dna__addressof(CurveProfilePoint.__DNA__FIELD__h2); CPointer<Byte> p_h2 = p.cast(new Class[]{Byte.class});
public CurveProfilePoint(long __address, Block __block, BlockTable __blockTable)
protected CurveProfilePoint(CurveProfilePoint that)
public float getX() throws java.io.IOException
Location of the point, keep together.
java.io.IOException
__DNA__FIELD__x
public void setX(float x) throws java.io.IOException
Location of the point, keep together.
java.io.IOException
__DNA__FIELD__x
public float getY() throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public void setY(float y) throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public short getFlag() throws java.io.IOException
Flag selection state and others.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
Flag selection state and others.
java.io.IOException
__DNA__FIELD__flag
public byte getH1() throws java.io.IOException
Flags for both handle's type (eBezTriple_Handle).
java.io.IOException
__DNA__FIELD__h1
public void setH1(byte h1) throws java.io.IOException
Flags for both handle's type (eBezTriple_Handle).
java.io.IOException
__DNA__FIELD__h1
public byte getH2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__h2
public void setH2(byte h2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__h2
public CPointer<CurveProfilePoint> __io__addressof()