Constructors

GH_Point

#
public GH_Point()

GH_Point

#
public GH_Point(
GH_Point
iOther
)

GH_Point

#
public GH_Point(
rh_obj_id
)

GH_Point

#
public GH_Point()

Properties

Boundingbox

#
public BoundingBox Boundingbox { get; }
Boundingbox

ClippingBox

#
public BoundingBox ClippingBox { get; }
ClippingBox

IsGeometryLoaded

#
public bool IsGeometryLoaded { get; }
IsGeometryLoaded

IsReferencedGeometry

#
public bool IsReferencedGeometry { get; }

IsValid

#
public bool IsValid { get; }
IsValid

IsValidWhyNot

#
Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
public string IsValidWhyNot { get; }
IsValidWhyNot

QC_Type

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public GH_QuickCastType QC_Type { get; }
QC_Type

ReferenceData

#
Gets or sets the reference data of this point geometry.
public GH_PointRefData ReferenceData { get; set; }
Remarks: Reference data can be Null

ReferenceID

#
public Guid ReferenceID { get; set; }
ReferenceID

TypeDescription

#
public string TypeDescription { get; }
TypeDescription

TypeName

#
public string TypeName { get; }
TypeName

Value

#
public Point3d Value { get; set; }

Methods

BakeGeometry

#
public bool BakeGeometry(
doc,
att,
ref Guid
obj_guid
)
BakeGeometry

CastFrom

#
public bool CastFrom(
source
)
CastFrom

CastTo<T>

#
public bool CastTo<T>(
ref T
target
)
CastTo

ClearCaches

#
public void ClearCaches()
ClearCaches

CreateFromCoordinate

#
Create a new point geometry instance based on a fixed coordinate
public void CreateFromCoordinate(
pt
The coordinate for the point
)
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
public void CreateFromCurveDistance(
crv_id,
ID of the curve this object references
crv,
The curve to act on
t,
Parameter on the curve that controls the distance measurement
bFromStart
True if the distance is to be measured from the start of the curve
)
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
public void CreateFromCurveRatio(
crv_id,
ID of the curve this object references
crv,
t
Parameter on curve in domain space
)
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
public void CreateFromEdgeDistance(
brp_id,
ID of the curve this object references
edge,
The edge curve
e_index,
Index of edge to reference
t,
Parameter along the curve in curve domain space
bFromStart
True if the distance is to be measured from the start of the curve
)
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
public void CreateFromEdgeRatio(
brp_id,
ID of the brep this object references
edge,
The edge curve
e_index,
Index of edge to reference
t
Parameter on edge in edge domain space
)
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.
public void CreateFromPointObject(
id
The identifier of the point object
)
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
public void CreateFromSurfaceParam(
brp_id,
ID of the curve this object references
f_index,
Index of edge to reference
srf,
Surface to work on
u,
Parameter in surface U direction
v
Parameter in surface V direction
)
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.

DrawViewportMeshes

#
public void DrawViewportMeshes()
DrawViewportMeshes

DrawViewportWires

#
public void DrawViewportWires()
DrawViewportWires

Duplicate

#
public IGH_Goo Duplicate()
Duplicate

DuplicateGeometry

#
public IGH_GeometricGoo DuplicateGeometry()
DuplicateGeometry

DuplicatePoint

#
public GH_Point DuplicatePoint()

EmitProxy

#
public IGH_GooProxy EmitProxy()
EmitProxy

EnsureReferenceData

#
Creates new Reference data if it doesn't already exists
public void EnsureReferenceData()

GetBoundingBox

#
public BoundingBox GetBoundingBox(
xform
)
GetBoundingBox

LoadGeometry

#
public bool LoadGeometry()
LoadGeometry

LoadGeometry

#
public bool LoadGeometry()
LoadGeometry

Morph

#
public IGH_GeometricGoo Morph(
xmorph
)
Morph

QC_Bool

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool QC_Bool()
QC_Bool

QC_Col

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Color QC_Col()
QC_Col

QC_CompareTo

#
public int QC_CompareTo()
QC_CompareTo

QC_Complex

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Complex QC_Complex()
QC_Complex

QC_Distance

#
public double QC_Distance()
QC_Distance

QC_Hash

#
public int QC_Hash()
QC_Hash

QC_Int

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public int QC_Int()
QC_Int

QC_Interval

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Interval QC_Interval()
QC_Interval

QC_Matrix

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Matrix QC_Matrix()
QC_Matrix

QC_Num

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public double QC_Num()
QC_Num

QC_Pt

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Point3d QC_Pt()
QC_Pt

QC_Text

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public string QC_Text()
QC_Text

QC_Vec

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Vector3d QC_Vec()
QC_Vec

Read

#
public bool Read(
reader
)
Read

ReferenceCurve

#
public Curve ReferenceCurve()

ReferenceCurve

#
public Curve ReferenceCurve()

ReferenceIndex

#
Retrieve the index of the point reference data.
public int ReferenceIndex()
Remarks: If there exists no reference data, -1 is returned.
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(
new_index
The index to set. This index describes the sub-object of the reference.
)
Remarks: If there is no reference data, this function will create a new instance.

ReferenceParam

#
Retrieve the indexed param of the point reference data.
public double ReferenceParam(
index
Index of parameter. Only 0 and 1 are valid values.
)
Remarks: If there exists no reference data, NaN is returned.
The indexed param of the reference data.

ReferenceParam

#
Sets the index of the point reference data.
public void ReferenceParam(
index,
The index of the parameter. Only 0 and 1 are valid values.
new_param
The new value of the parameter
)
Remarks: If there is no reference data, this function will create a new instance.

ReferencesCurve

#
Returns true if this point is based on a curve reference
public bool ReferencesCurve()

ReferencesEdge

#
Returns True if this point is based on an edge reference
public bool ReferencesEdge()

ReferenceSurface

#
public BrepFace ReferenceSurface()

ReferenceType

#
Retrieve the reference type of this point object.
public GH_PointRefType ReferenceType()
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.

ScriptVariable

#
public object ScriptVariable()
ScriptVariable

SetReferenceParams

#
Sets both param values of the point reference
public void SetReferenceParams(
u,
The new u parameter
v
The new v parameter
)
Remarks: If there is no reference data, this function will create a new instance.

ShowReferenceDialog

#
public DialogResult ShowReferenceDialog()

ShowReferenceDialog

#
public DialogResult ShowReferenceDialog()

ToString

#
public override string ToString()
Object.ToString
ToString

Transform

#
public IGH_GeometricGoo Transform(
Transform
xform
)
Transform

Write

#
public bool Write(
writer
)
Write