topologicpy.Context module
- class topologicpy.Context.Context
Bases:
objectMethods
ByTopologyParameters(topology[, u, v, w])Creates a context object represented by the input topology.
Topology(context)Returns the topology of the input context.
- static ByTopologyParameters(topology, u=0.5, v=0.5, w=0.5)
Creates a context object represented by the input topology.
- Parameters
- topologytopologic_core.Topology
The input topology.
- ufloat , optional
The input u parameter. This defines the relative parameteric location of the content object along the u axis.
- vTYPE
The input v parameter. This defines the relative parameteric location of the content object along the v axis..
- wTYPE
The input w parameter. This defines the relative parameteric location of the content object along the w axis.
- Returns
- topologic_core.Context
The created context object. See Aperture.ByObjectContext.
- static Topology(context)
Returns the topology of the input context.
- Parameters
- contexttopologic_core.Context
The input context.
- Returns
- topologic_core.Topology
The topology of the input context.