GH_Point
ReferencesConstructors
Properties
IsValidWhyNot
#Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
Implements: IsValidWhyNot
QC_Type
#[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public GH_QuickCastType QC_Type { get; }
Implements: QC_Type
ReferenceData
#Gets or sets the reference data of this point geometry.
Remarks: Reference data can be Null
Methods
CreateFromCoordinate
#Create a new point geometry instance based on a fixed coordinate
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
CreateFromCurveDistance
#Create new point geometry instance based on a curve distance parameter
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
CreateFromCurveRatio
#Create new point geometry instance based on a curve parameter ratio
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
CreateFromEdgeDistance
#Create new point geometry instance based on a curve distance parameter
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
CreateFromEdgeRatio
#Create new point geometry instance based on an edge parameter ratio
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
CreateFromPointObject
#Create a new point geometry instance based on point object ID. Technically this now also accepts Dot object IDs.
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
CreateFromSurfaceParam
#Create new point geometry instance based on a curve distance parameter
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
EnsureReferenceData
#Creates new Reference data if it doesn't already exists
public void EnsureReferenceData()
ReferenceCurve
#ReferenceIndex
#Retrieve the index of the point reference data.
Remarks: If there exists no reference data, -1 is returned.
Returns: The index of the reference data. This index describes the sub-object of the reference.
ReferenceIndex
#Sets the index of the point reference data.
public void ReferenceIndex()
Remarks: If there is no reference data, this function will create a new instance.
ReferenceParam
#Retrieve the indexed param of the point reference data.
Remarks: If there exists no reference data, NaN is returned.
Returns: The indexed param of the reference data.
ReferenceParam
#Sets the index of the point reference data.
Remarks: If there is no reference data, this function will create a new instance.
ReferenceType
#Retrieve the reference type of this point object.
Returns: The reference type as specified by the Reference Data. If there is no reference data, either Unset or Coordinate is returned depending on whether m_Point is a null reference.
ReferenceType
#Sets the type of the point reference data.
public void ReferenceType()
new_type
The new type, if type = Coordinate or Unset, then the Reference data will be erased.
Remarks: If there is no reference data, this function will create a new instance.
SetReferenceParams
#Sets both param values of the point reference
Remarks: If there is no reference data, this function will create a new instance.