Logo Euclid.Rhino

AutoOpenRhinoTypeExtensions Module

If this module is opened then you can convert Rhino points and vectors and Euclid points and vectors to each other via new static and instance members on these types.

Type extensions

Type extension Description

this.BBox

Full Usage: this.BBox

Parameters:
    () : unit

Returns: BBox

Convert a Rhino.Geometry.BoundingBox to a Euclid bounding box. Reordering the bounding box minX, minY, minZ, maxX, maxY and maxZ if they are not in the increasing from min to max values. Rhino.Geometry.BoundingBoxes can be inverted. Euclid BBoxes not.

Extended Type: BoundingBox

() : unit
Returns: BBox

this.BoxEuclid

Full Usage: this.BoxEuclid

Parameters:
    () : unit

Returns: Box

Convert a Rhino.Geometry.Box to a Euclid box.

Extended Type: Box

() : unit
Returns: Box

this.Line2D

Full Usage: this.Line2D

Parameters:
    () : unit

Returns: Line2D
Modifiers: inline

Convert a Rhino.Geometry.Line to a Euclid 2D line. Ignoring the Z component.

Extended Type: Line

() : unit
Returns: Line2D

this.Line3D

Full Usage: this.Line3D

Parameters:
    () : unit

Returns: Line3D
Modifiers: inline

Convert a Rhino.Geometry.Line to a Euclid 3D Line.

Extended Type: Line

() : unit
Returns: Line3D

this.PPlane

Full Usage: this.PPlane

Parameters:
    () : unit

Returns: PPlane

Convert a Rhino.Geometry.Plane to a Euclid parametrized plane.

Extended Type: Plane

() : unit
Returns: PPlane

this.Pnt

Full Usage: this.Pnt

Parameters:
    () : unit

Returns: Pnt
Modifiers: inline

Convert a Rhino.Geometry.Point3d to a Euclid 3D point.

Extended Type: Point3d

() : unit
Returns: Pnt

this.Pnt

Full Usage: this.Pnt

Parameters:
    () : unit

Returns: Pnt
Modifiers: inline

Convert a Rhino.Geometry.Point3f to a Euclid 3D point.

Extended Type: Point3f

() : unit
Returns: Pnt

this.Polyline2D

Full Usage: this.Polyline2D

Parameters:
    () : unit

Returns: Polyline2D

Convert a Rhino.Geometry.Polyline to a Euclid 2D polyline. Ignoring the Z component.

Extended Type: Polyline

() : unit
Returns: Polyline2D

this.Polyline3D

Full Usage: this.Polyline3D

Parameters:
    () : unit

Returns: Polyline3D

Convert a Rhino.Geometry.Polyline to a Euclid 3D polyline.

Extended Type: Polyline

() : unit
Returns: Polyline3D

this.Pt

Full Usage: this.Pt

Parameters:
    () : unit

Returns: Pt
Modifiers: inline

Convert a Rhino.Geometry.Point3d to a Euclid 2D point, ignoring the Z component.

Extended Type: Point3d

() : unit
Returns: Pt

this.Pt

Full Usage: this.Pt

Parameters:
    () : unit

Returns: Pt
Modifiers: inline

Convert a Rhino.Geometry.Point3f to a Euclid 2D point, ignoring the Z component.

Extended Type: Point3f

() : unit
Returns: Pt

this.UnitVc

Full Usage: this.UnitVc

Parameters:
    () : unit

Returns: UnitVc
Modifiers: inline

Convert a Rhino.Geometry.Vector3d to a Euclid 2D unitized vector, ignoring the Z component.

Extended Type: Vector3d

() : unit
Returns: UnitVc

this.UnitVc

Full Usage: this.UnitVc

Parameters:
    () : unit

Returns: UnitVc
Modifiers: inline

Convert a Rhino.Geometry.Vector3f to a Euclid 2D unitized vector, ignoring the Z component.

Extended Type: Vector3f

() : unit
Returns: UnitVc

this.UnitVec

Full Usage: this.UnitVec

Parameters:
    () : unit

Returns: UnitVec
Modifiers: inline

Convert a Rhino.Geometry.Vector3d to a Euclid 3D unitized vector.

Extended Type: Vector3d

() : unit
Returns: UnitVec

this.UnitVec

Full Usage: this.UnitVec

Parameters:
    () : unit

Returns: UnitVec
Modifiers: inline

Convert a Rhino.Geometry.Vector3f to a Euclid 3D unitized vector.

Extended Type: Vector3f

() : unit
Returns: UnitVec

this.Vc

Full Usage: this.Vc

Parameters:
    () : unit

Returns: Vc
Modifiers: inline

Convert a Rhino.Geometry.Vector3d to a Euclid 2D vector, ignoring the Z component.

Extended Type: Vector3d

() : unit
Returns: Vc

this.Vc

Full Usage: this.Vc

Parameters:
    () : unit

Returns: Vc
Modifiers: inline

Convert a Rhino.Geometry.Vector3f to a Euclid 2D vector, ignoring the Z component.

Extended Type: Vector3f

() : unit
Returns: Vc

this.Vec

Full Usage: this.Vec

Parameters:
    () : unit

Returns: Vec
Modifiers: inline

Convert a Rhino.Geometry.Vector3d to a Euclid 3D vector.

Extended Type: Vector3d

() : unit
Returns: Vec

this.Vec

Full Usage: this.Vec

Parameters:
    () : unit

Returns: Vec
Modifiers: inline

Convert a Rhino.Geometry.Vector3f to a Euclid 3D vector.

Extended Type: Vector3f

() : unit
Returns: Vec

BoundingBox.toBBox b

Full Usage: BoundingBox.toBBox b

Parameters:
Returns: BBox

Convert a Rhino.Geometry.BoundingBox to a Euclid bounding box. Reordering the bounding box minX, minY, minZ, maxX, maxY and maxZ if they are not in the increasing from min to max values. Rhino.Geometry.BoundingBoxes can be inverted. Euclid BBoxes not.

Extended Type: BoundingBox

b : BoundingBox
Returns: BBox

Box.toBoxEuclid b

Full Usage: Box.toBoxEuclid b

Parameters:
Returns: Box

Convert a Rhino.Geometry.Box to a Euclid box.

Extended Type: Box

b : Box
Returns: Box

Line.toLine2D l

Full Usage: Line.toLine2D l

Parameters:
Returns: Line2D
Modifiers: inline

Convert a Rhino.Geometry.Line to a Euclid 2D line. Ignoring the Z component.

Extended Type: Line

l : Line
Returns: Line2D

Line.toLine3D l

Full Usage: Line.toLine3D l

Parameters:
Returns: Line3D
Modifiers: inline

Convert a Rhino.Geometry.Line to a Euclid 3D line.

Extended Type: Line

l : Line
Returns: Line3D

Plane.toPPlane p

Full Usage: Plane.toPPlane p

Parameters:
Returns: PPlane

Convert a Rhino.Geometry.Plane to a Euclid parametrized plane.

Extended Type: Plane

p : Plane
Returns: PPlane

Point3d.toPnt p

Full Usage: Point3d.toPnt p

Parameters:
Returns: Pnt
Modifiers: inline

Convert a Rhino.Geometry.Point3d to a Euclid 3D point.

Extended Type: Point3d

p : Point3d
Returns: Pnt

Point3f.toPnt p

Full Usage: Point3f.toPnt p

Parameters:
Returns: Pnt
Modifiers: inline

Convert a Rhino.Geometry.Point3f to a Euclid 3D point.

Extended Type: Point3f

p : Point3f
Returns: Pnt

Polyline.toPolyline2D p

Full Usage: Polyline.toPolyline2D p

Parameters:
Returns: Polyline2D

Convert a Rhino.Geometry.Polyline to a Euclid 2D polyline. Ignoring the Z component.

Extended Type: Polyline

p : Polyline
Returns: Polyline2D

Polyline.toPolyline3D p

Full Usage: Polyline.toPolyline3D p

Parameters:
Returns: Polyline3D

Convert a Rhino.Geometry.Polyline to a Euclid 3D polyline.

Extended Type: Polyline

p : Polyline
Returns: Polyline3D

Point3d.toPt p

Full Usage: Point3d.toPt p

Parameters:
Returns: Pt
Modifiers: inline

Convert a Rhino.Geometry.Point3d to a Euclid 2D point, ignoring the Z component.

Extended Type: Point3d

p : Point3d
Returns: Pt

Point3f.toPt p

Full Usage: Point3f.toPt p

Parameters:
Returns: Pt
Modifiers: inline

Convert a Rhino.Geometry.Point3f to a Euclid 2D point, ignoring the Z component.

Extended Type: Point3f

p : Point3f
Returns: Pt

Vector3d.toVc v

Full Usage: Vector3d.toVc v

Parameters:
Returns: Vc
Modifiers: inline

Convert a Rhino.Geometry.Vector3d to a Euclid 2D vector, ignoring the Z component.

Extended Type: Vector3d

v : Vector3d
Returns: Vc

Vector3f.toVc v

Full Usage: Vector3f.toVc v

Parameters:
Returns: Vc
Modifiers: inline

Convert a Rhino.Geometry.Vector3f to a Euclid 2D vector, ignoring the Z component.

Extended Type: Vector3f

v : Vector3f
Returns: Vc

Vector3d.toVec v

Full Usage: Vector3d.toVec v

Parameters:
Returns: Vec
Modifiers: inline

Convert a Rhino.Geometry.Vector3d to a Euclid 3D vector.

Extended Type: Vector3d

v : Vector3d
Returns: Vec

Vector3f.toVec v

Full Usage: Vector3f.toVec v

Parameters:
Returns: Vec
Modifiers: inline

Convert a Rhino.Geometry.Vector3f to a Euclid 3D vector.

Extended Type: Vector3f

v : Vector3f
Returns: Vec

Type something to start searching.