User Tools

Site Tools


DzCircle3

Describes a parametrically defined circle in three dimensional space.

More...

Inherits :

Properties

Constructors

DAZ Script
DzCircle3 ()
DzCircle3 ( String circle )
DzCircle3 ( DzCircle3 circle )
DzCircle3 ( DzVec3 center, DzVec3 normal, Number radius )

Methods

DAZ Script
StringtoString ()

Detailed Description

TODO: Add detailed description.

Properties


DzVec3 : center

Holds the center of the circle in three dimensional space.


DzVec3 : normal

Holds the normal of the plane that the circle lies on.


Number : radius

Holds the radius of the circle.

Constructors


DzCircle3()

Default Constructor.


DzCircle3( String circle )

Creates a circle by parsing a string.

Parameter(s):

  • circle - A string representation of the circle in the form "[[ centerX, centerY, centerZ ], [ normalX, normalY, normalZ ], radius ]"

DzCircle3( DzCircle3 circle )

Copy Constructor.

Parameter(s):

  • circle - The circle to copy.

DzCircle3( DzVec3 center, DzVec3 normal, Number radius )

Parameter(s):

  • center - The center point of the circle.
  • normal - The normal of the circle (i.e. a vector perpendicular to the plane of the circle).
  • radius - The radius of the circle.

Methods


String : toString()

Return Value:

  • A string representation of this circle in the form "[[ centerX, centerY, centerZ ], [ normalX, normalY, normalZ ], radius ]".