Geometry
Get the BoundingBox containing the given piece of Geometry
The CoordinateSystem that this Geometry is defined in
Gets the minimum-volume, oriented bounding box containing the given geometry.
Deserializes the specified Standard ACIS Binary(SAB) format data and returns a list of geometry
Takes a SAB file as input, and deserializes the ASM geometry into
a LibG object
Exports a list of specified geometry to the given SAT file path
Exports a list of specified geometry to the given SAT file path.
Parse the incoming JSON string formatted with autodesk.geometry:geometry-1.0.0 schemata.
This method is meant for internal use only.
Imports a JSON string and returns an array of imported geometries
Imports a SAT file and returns an array of imported geometries
Imports a SAT file and returns an array of imported geometries
Imports a SAT file and returns an array of imported geometries.
Imports a SAT file and returns an array of imported geometries.
Serializes a list of specified geometry into Standard ACIS Binary(SAB) format and returns serialized binary stream data
This method is meant for internal use only.
Convert internal structure of geometry from analytics to splines
Obtain the closest Point on this Geometry to the other
Obtain the distance from this Geometry to another
Determine if another Geometry object intersects with this one
Separates compound or non-separated elements into their component
parts.
Get the intersection Geometry for this object and another
Get the intersection of Geometry for this object and a collection of other Geometries. Finds common geometry of all participants.
Check if the two objects have the same representational geometry or numerical values
Mirror the object across the input Plane
Projects a collection of Points onto this Geometry along the specified direction.
Returns a flat array of resulting Geometry.
Rotates an object around an origin and an axis by a specified
degree
Rotates an object around the Plane origin and normal by a specified
degree
Scale uniformly around the origin
Scale non-uniformly around the origin
public virtual Geometry Scale(Plane plane, double xamount = 1, double yamount = 1, double zamount = 1)
Scale non-uniformly around a given Plane
Scale uniformly around a given point, using two pick points as scalars
Scale non-uniformly in one dimension by base and 2 pick points. The scaling axis is defined by the line between base and from point.
Scale in two dimensions by base and 2 pick points The two pick points are projected onto the base plane in order to determine the 2d scale factors
Split this Geometry using another Geometry as a cutting "tool"
Convert the Geometry into a JSON object formatted with autodesk.geometry:geometry-1.0.0 schemata.
Convert to SolidDef json
Transform the object by the input CoordinateSystem matrix.
public virtual Geometry Transform(CoordinateSystem targetCoordinateSystem, CoordinateSystem sourceCoordinateSystem)
Returns this geometry with its position expressed relative to the
targetCoordinateSystem, placed into the frame of the sourceCoordinateSystem.
The local position of the result within the sourceCoordinateSystem
matches the local position of the input within the targetCoordinateSystem.
To obtain the coordinates of a geometry in world-space within a given coordinate
system, pass CoordinateSystem.Identity as the sourceCoordinateSystem
and the given CS as the targetCoordinateSystem.
The resulting geometry coordinates will equal the coordinates of the input
relative to that target frame.
public virtual Geometry Translate(double xTranslation = 0, double yTranslation = 0, double zTranslation = 0)
Translates any given geometry by the given displacements in the x, y,
and z directions defined in WCS respectively.
Translate the object in the direction and magnitude of input Vector.
Translates any geometry type by the given distance in the given
direction.
Removes elements of the entity closest to the pick point